package com.cloud.gateway.config;

import com.cloud.gateway.filter.LoadBalancerFilter;
import org.springframework.cloud.gateway.filter.ReactiveLoadBalancerClientFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 过滤器配置类
 *
 * @author fengwenjin
 */
@Configuration
public class FilterConfig {
    @Bean
    public ReactiveLoadBalancerClientFilter loadBalancerFilter() {
        return new LoadBalancerFilter(null, null, null);
    }
}
